#ifndef LITTERIEM_H
#define LITTERIEM_H

#include <QWidget>

namespace Ui {
class LitterIem;
}
/*******************************
 * 用户列表项  用户信息
 * ***************************/
class LitterIem : public QWidget
{
    Q_OBJECT

public:
    /**
     * @brief LitterIem
     * @param picPath 头像的文件路径
     * @param parent 父窗口
     */
    explicit LitterIem(QString picPath,QWidget *parent = 0);
    ~LitterIem();
    void displayNickname(QString nickname);
    void displayMood(QString mood);
    void setUUID(QString uuid);
    void setFd(int fd);
    bool isUUID(QString uuid);
public slots:

private slots:


private:
    Ui::LitterIem *ui;
    QString m_UUID;
    int m_fd;
signals:
    void explains();
    void sigTalkWindow(int fd,QString uuid);
private:
   void mousePressEvent(QMouseEvent* event);                 // 鼠标单击事件
};

#endif // LITTERIEM_H
